package per.jdz.tolerant;

/**
 * @description: 快速失败
 * @Author: Jdz
 * @CreateTime: 2024-03-17 00:57
 */
public class FailFastFaultTolerantStrategy implements FaultTolerantStrategy{

    @Override
    public Object handler(FaultContext faultContext) throws Exception {
        throw faultContext.getException();
    }
}
